function f=wadd(x,y)
global ALPHA BETA
f=ALPHA*x+BETA*y;
